﻿package mortal.game.view.rebate.openNewSerSevenDay.items
{
    import flash.events.*;
    import mortal.game.events.*;
    import mortal.game.mvc.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;
    import mortal.mvc.core.*;

    public class OpenServerSevDayRC200Icon extends ActionBaseIcon
    {
        private static var _instance:OpenServerSevDayRC200Icon;

        public function OpenServerSevDayRC200Icon()
        {
            super(ResFileConst.Comsum200Icon);
            return;
        }// end function

        override protected function clickHandler(event:MouseEvent) : void
        {
            Dispatcher.dispatchEvent(new DataEvent(EventName.RebateOpenSerSenRC200));
            return;
        }// end function

        public static function get instance() : OpenServerSevDayRC200Icon
        {
            if (!_instance)
            {
                _instance = new OpenServerSevDayRC200Icon;
            }
            return _instance;
        }// end function

        public static function hasInstance() : Boolean
        {
            return _instance != null;
        }// end function

    }
}
